package com.zql;import com.zql.com.zql.dto.TestDto;import org.springframework.context.support.ClassPathXmlApplicationContext;import java.io.IOException;/** * @Author: Beating Pupils * @Date: 2020/8/9 17:34 * @Description: */public class ProviderApp {    public static void main(String[] args) throws IOException {        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(                new String[] { "provider.xml" });        context.start();        TestDto.builder().age(10).name("z");        System.in.read(); // 为保证服务一直开着，利用输入流的阻塞来模拟    }}